package com.chenyaowei.happyhub.mapper;

import com.chenyaowei.happyhub.pojo.IndexNav;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface IndexNavMapper {
    List<IndexNav> selectAllIndexNav();
    List<IndexNav> selectAllType();
    void  deleteType(@Param("typeName") String typeName);
    void insertType(@Param("typeName") String typeName,@Param("typeImage") String typeImage,@Param("isIndex") String isIndex);
}
